package com.neu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(description = "项目用户角色关联表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("project_user_role")
public class ProjectUserRole {
    /**
     *  项目ID
     */
    @TableId(type= IdType.ASSIGN_ID)
    private String projectId;
    /**
     *  用户ID
     */
    private String userId;
    /**
     * 角色ID
     */
    private String roleId;
}
